#ifndef SPRIRE_H
#define SPRITE_H
#include "port.h"
#include <vector>
#include <string>
#include <map>

class Sprite {
	void load_directory(const char *dir, std::vector<BITMAP *>*dest);
	void load_directory(const char *dir, std::map<std::string,BITMAP *>*dest);
public:
	BITMAP *player;
	
	std::vector<BITMAP *>pls;
	std::map<std::string,BITMAP *>weaps;
	std::map<std::string,BITMAP *>shots;
	
	void load_planets(void);
	void load_weapons(void);
	void load_shots(void);
	
	void load_sprites(void);
	BITMAP *get_sprite(const char *);
	
	BITMAP *get_random_planet(void);
	BITMAP *get_weapon(const char *w);
	BITMAP *get_shot(const char *w);
};

#endif

